local huoji = fk.CreateSkill {
  name = "mini_ex__huoji",
}

Fk:loadTranslationTable{
  ["mini_ex__huoji"] = "火计",
  [":mini_ex__huoji"] = "出牌阶段限一次，你可以对一名其他角色造成1点火焰伤害。",

  ["#mini_ex__huoji"] = "火计：对一名其他角色造成1点火焰伤害",
}

huoji:addEffect("active", {
  anim_type = "offensive",
  prompt = "#mini_ex__huoji",
  card_num = 0,
  target_num = 1,
  can_use = function(self, player)
    return player:usedSkillTimes(huoji.name, Player.HistoryPhase) == 0
  end,
  card_filter = Util.FalseFunc,
  target_filter = function(self, player, to_select, selected)
    return #selected == 0 and to_select ~= player
  end,
  on_use = function(self, room, effect)
    room:damage{
      from = effect.from,
      to = effect.tos[1],
      damage = 1,
      damageType = fk.FireDamage,
      skillName = huoji.name,
    }
  end,
})

return huoji
